package com.gdcvi.scan;

import java.io.Serializable;

/**
 * OutputReminder:输出提醒器，在不改变源代码的基础上增加功能
 */
public class OutputReminder extends PlayerDecorator{
    public OutputReminder(Player player) {
        super(player);
    }

    @Override
    public Hand chuQuan() {
        Hand hand = getPlayer().chuQuan();
        System.out.println(hand);
        return hand;
    }

}
